#include<iostream>
using namespace std;
int main()
{
    int n,i,j,k;
    while(cin>>n)
    {
    for(i=0;i<n;i++)
    {
        for(j=0;j<i;j++)
            cout<<" ";
        cout<<"*";
        for(j=n;j>0;j--)
            cout<<" ";
        cout<<endl;
    }
    }
}
